package net.iceflow.dunsel.client;

import net.iceflow.dunsel.client.command.ConnectCommand;
import net.iceflow.dunsel.client.command.DisconnectCommand;
import net.iceflow.dunsel.commons.commandqueue.AbstractCommandQueue;

/**
 * Client specific command queue.
 */
public class ClientCommandQueue extends AbstractCommandQueue<CommandType, CommandableFacade> {

    /**
     * Constructs a new ClientCommandQueue.
     */
    public ClientCommandQueue(CommandableFacade clientFacade) {
        super(CommandType.class, clientFacade);

        this.registerCommand(CommandType.CONNECT, new ConnectCommand());
        this.registerCommand(CommandType.DISCONNECT, new DisconnectCommand());
    }
}
